{% extends 'cms/cms_base.html' %}
{% block title -%}
    CMS组管理
{%- endblock %}

{% block page_title -%}
    {{ self.title() }}
{%- endblock %}

{% block main_content -%}
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>权限名</th>
                <th>权限描述</th>
                <th>创建时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        {% for role in roles %}
            <tr>
                <td>{{ role.name }}</td>
                <td>{{ role.desc}}</td>
                <td>{{ role.create_time }}</td>
                <td>
                    <button class="btn btn-default">暂无操作</button>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
{%- endblock %}